<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>信息添加页面</title>
</head>
<body>
<h2></h2>

<form th:action="@{/add}" th:object="${customer}" th:method="post">
    姓名：<input type="text" th:field="*{name}" />  <br />
    地址：<input type="text" th:field="*{address}" /> <br />
    电话：<input type="text" th:field="*{telephone}" /> <br />
    邮箱：<input type="text" th:field="*{email}" /> <br />
    备注：<input type="text" th:field="*{remark}" /> <br />
    <input type="submit"/>
</form>
</body>
</html>